package com.study.springboot.model.vo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author wei.zhao
 * @description:
 * @date 2021年12月04日 23:52
 */
@Data
@Component
@PropertySource(value = "defaults.properties", encoding = "UTF-8")
@ConfigurationProperties(prefix = "student")
public class Defaults {
    private List<String> names;
}
